<template>
    <div class="panent" @click="$emit('search-value',item.name)">
        <img src="../img/搜索，猫客.png" alt="">
        {{item.name}}
    </div>
</template>

<script>
    export default {
        props:{
            item:Object
        }
    }
</script>

<style lang="scss" scoped>
.panent{
    line-height: 45rem;
    height: 45rem;
    margin-left: 10rem;
    font-size: 14rem;

    img{
        height: 15rem;   
        width: 15rem;

    }
}
</style>